package com.javasm.service;

import com.javasm.entity.RoomCategory;

import java.util.List;

public interface RoomCategoryService {
    List<RoomCategory> listAllCategory(RoomCategory inputCategory, Integer page, Integer pageSize);
    Integer countCategory(RoomCategory inputCategory);
    Integer addCategory(RoomCategory inputCategory);

    Integer deleteCategoryById(Integer categoryId);
    RoomCategory getCategoryById(Integer categoryId);
    Integer editCategory(RoomCategory inputCategory);

    List<RoomCategory> listCategoryForSelect(Integer parentId);
}
